import React from 'react'
import * as ReactDOM from 'react-dom/client'
import App from './App'
import { StoreContext, rootStore } from './store'
import './assets/styles/index.less'

ReactDOM.createRoot(document.getElementById('root') as HTMLElement).render(
  <React.StrictMode>
    <StoreContext.Provider value={rootStore}>
      <App />
    </StoreContext.Provider>
  </React.StrictMode>
)
